package com.ssy.lingxi.member.merchant.model.vo.maintenance.response;

import java.io.Serializable;
import java.util.List;

/**
 * 会员详情 - 诚信信息返回VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-07-14
 */
public class MemberDetailCreditVO implements Serializable {
    private static final long serialVersionUID = -1487385287432605606L;

    /**
     * 信用积分
     */
    private Integer creditPoint;

    /**
     * 交易评价积分
     */
    private Integer tradeCommentPoint;

    /**
     * 售后评价积分
     */
    private Integer afterSaleCommentPoint;

    /**
     * 投诉扣分
     */
    private Integer complainPoint;

    /**
     * 入驻年数积分
     */
    private Integer registerYearsPoint;

    /**
     * 信用积分配置规则列表
     */
    private List<CreditConfigItem> configs;

    public Integer getCreditPoint() {
        return creditPoint;
    }

    public void setCreditPoint(Integer creditPoint) {
        this.creditPoint = creditPoint;
    }

    public Integer getTradeCommentPoint() {
        return tradeCommentPoint;
    }

    public void setTradeCommentPoint(Integer tradeCommentPoint) {
        this.tradeCommentPoint = tradeCommentPoint;
    }

    public Integer getAfterSaleCommentPoint() {
        return afterSaleCommentPoint;
    }

    public void setAfterSaleCommentPoint(Integer afterSaleCommentPoint) {
        this.afterSaleCommentPoint = afterSaleCommentPoint;
    }

    public Integer getComplainPoint() {
        return complainPoint;
    }

    public void setComplainPoint(Integer complainPoint) {
        this.complainPoint = complainPoint;
    }

    public Integer getRegisterYearsPoint() {
        return registerYearsPoint;
    }

    public void setRegisterYearsPoint(Integer registerYearsPoint) {
        this.registerYearsPoint = registerYearsPoint;
    }

    public List<CreditConfigItem> getConfigs() {
        return configs;
    }

    public void setConfigs(List<CreditConfigItem> configs) {
        this.configs = configs;
    }

    /**
     * 信用积分配置
     */
    public static class CreditConfigItem {

        /**
         * 项目id
         */
        private Long id;

        /**
         * 信用积分项目枚举，1-交易评价，2-投诉，3-售后评价，4-注册年数
         */
        private Integer creditTypeEnum;

        /**
         * 信用积分项目
         */
        private String creditTypeName;

        /**
         * 信用积分项目说明
         */
        private String remark;

        /**
         * 信用积分
         */
        private Integer creditPoint;

        /**
         * 会员当前得分
         */
        private Integer currentPoint;

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public Integer getCreditTypeEnum() {
            return creditTypeEnum;
        }

        public void setCreditTypeEnum(Integer creditTypeEnum) {
            this.creditTypeEnum = creditTypeEnum;
        }

        public String getCreditTypeName() {
            return creditTypeName;
        }

        public void setCreditTypeName(String creditTypeName) {
            this.creditTypeName = creditTypeName;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public Integer getCreditPoint() {
            return creditPoint;
        }

        public void setCreditPoint(Integer creditPoint) {
            this.creditPoint = creditPoint;
        }

        public Integer getCurrentPoint() {
            return currentPoint;
        }

        public void setCurrentPoint(Integer currentPoint) {
            this.currentPoint = currentPoint;
        }
    }
}
